package com.wyp.design.pattern.structural.adapter.objectadapter;


/**
 * 对象适配器，通过组合关系进行适配 满足开闭原子，满足和合成服用原则
 *
 * @author: Oliver
 * @time: 2020/5/13/18:09
 */
public class Adapter implements target {
    private Adaptee adaptee = new Adaptee();

    @Override
    public void request() {
        adaptee.adapteeRequest();
    }
}
